about how to download and build images, see the openstack virtual machine image guide https://docs.openstack.org/image-guide/For information about how to manage images, see openstack End User Guide https://docs.openstack.org/queens/user/
1. Obtain the admin user's environment variables and download the image.
Source ~ /Admin-openrcWget http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img#
the member-* operation router.py-Maps the HTTP operation received by WSGI to the Controller class of the Glance-api module.
glance-registry: Providing metadata database operations to GLANCE-API REST API, which is monitored by default on port 9191. Main documents:
Client/v1/api.py--Registry API entry, calling function client.py in client.py--c
Glance Mirroring Service:Glance consists of three main components: Glance-api, glance-registry, and image storeGLANCE-API: Accepts the creation, deletion, and read requests of the system image.Glance-registry: Mirrored registration Service for cloud systemsGlance installation:[[emailprotected] ~]# yum -y install openstack
Mirroring a virtual hard disk that has a system installedManagement is done with glance.Status of the Mirror:The active image has been uploaded and is availableSaving is being uploaded, not yet completed.Killed upload errorQueued does not actually upload, but is marked with this image
Installing glanceRegister at KeystoneGlance the required accountCreate a Glance ServiceSpecify the endpoint of the Glance
play:
First install such a virtual machine manually
In this process, the 1th step is similar to the traditional approach, requiring manual operation and a certain amount of time.But the 2nd, 3 steps very fast, fully automated, generally is the second level.and 2, 3 steps can be recycled. For example, the company has a new set of OA system, each employee's PC must have client software. Then you can manually install the OA client in an employee's virtual machine
Problem descriptionOpenStack J Version Centos7 deploymentRestart service when not to come, the log is not error, to glance services as an example, as follows:# systemctl start Openstack-glance-api.service openstack-glance-registry.serviceJob forOpenstack-
Descriptive narrative of the problemOpenStack J Version Centos7 deploymentRestarting the service does not come up, the log does not error. Take the glance service as an example, such as the following:# systemctl start Openstack-glance-api.service openstack-glance-registry.se
Disclaimer: The recent installation of the kilo version of OpenStack found that there were very few existing web tutorials and that most of the tutorials did not install successfully, So write this tutorial. The installation of OpenStack is complex, and this tutorial does not guarantee that it will be installed successfully in different environments. Personal installation tutorials are also prone to erro
"N Version" openstack--Mirroring service GlanceA. OpenStackThe Glance Mirror service1.1glanceIntroductionGlance mainly consists of three parts
Glance-api : Receive cloud system image creation, deletion, read request, similar to NOVA-API, through other modules (Glance-registry and image store) to complete such as im
I. Glance environmentReference Document: Http://www.aboutyun.com/thread-13080-1-1.htmlHttp://docs.openstack.org/mitaka/install-guide-ubuntu/glance-install.html1. Create a Glance database and authorize
Create
mysql -u root -pCREATE DATABASE glance;
Authorization (self-setting password, connect dat
The article is also published in the [Ceph China community], named Thomas, the other is not very clear, the need for readers, can leave a message to ask, thank you!
Creating a cloud host in OpenStack first has to be mirrored, while the Glance module provides mirroring service capabilities, including: Image discovery, retrieval, and storage, including: Glance
OpenStack Glance upload image
Glance is a sub-project that provides mirroring services in OpenStack, this article mainly describes the process of uploading images glance.The Glance service consists of two services Glance-api and
Operate in the controller.Vim/etc/glance/glance-api.conf[Glance_store]Default_store = Swift defaults to file changed to SwiftStores = file, HTTP is not moved by defaultSwift_store_auth_version = 2 The default version is 2Stores=glance.store.swift.store,glance.store.filesystem.store This item must be added, otherwise it cannot be uploadedSwift_store_auth_address = http://controller:5000/v2.0 Controller's Key
openstack-glance API for convenience, you can customize a function first put it in the credentials.py .# VI credentials.py#!/usr/bin/env pythonImport OSDef get_keystone_creds (): d = {} d[' username ' =os.environ[' os_username '] d[' password ' =os.environ[' Os_password '] d[' auth_url ' =os.environ[' Os_auth_url '] d[' tenant_name ') = os.environ[' Os_tenant_name '] return DDef get_nova_creds (): d = {}
application development platform
Lab Test Platform
Use cases that use scale-out effects that are better than vertical scaling are the ideal object for general-purpose cloud architectures.A general-purpose cloud environment is potentially useful and functional, rather than customized for a given user. The general purpose architecture is designed to meet 80% of potentially available cases. The infrastructure itself is a designated case, intend
This series of articles focuses on learning and researching OpenStack Swift, including environment building, principles, architecture, monitoring, and performance.(1) OpenStack + Three-node Swift cluster + HAProxy + UCARP installation and configuration(2) principle, architecture and performance(3) Monitoring1.
mechanisms of each component. (Google openstack architecture)
Northbound: repeat the official manual and remember eachComponents.
Southbound: clarify the virtual machine lifecycle
The underlying functions, how to construct xml files, and how to connect libvirt
Differences between KVM and XEN
Components: abandon devstack and manually create an OpenStack
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.